<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

?>
<html>
<head>
<title>Upload Form</title>
</head>
<body>
    <h1>Upload Image - Just for fun!</h1>
<?php if(isset ($error)){
      echo $error;}?>

<?php echo form_open_multipart('upload/do_upload');?>

<input type="file" name="userfile" size="20" />

<br /><br />

<input type="submit" value="upload" />

</form>


<p>You can upload an image to the server, but only because you can. It works but you can't see it...Why? because we decided to go in a different direction.</p>

</body>
</html>